#include "bibleunit.h"

BibleUnit::BibleUnit(BibleUnitType t, QString bun, QString nun, double r)
{
    type = t;
    bibleUnitName = bun;
    nowUnitName = nun;
    ratio = r;
}

BibleUnit::BibleUnit()
{

}

BibleUnit::~BibleUnit()
{

}

BibleUnitType BibleUnit::getType() const
{
    return type;
}

void BibleUnit::setType(const BibleUnitType &value)
{
    type = value;
}

QString BibleUnit::getBibleUnitName() const
{
    return bibleUnitName;
}

void BibleUnit::setBibleUnitName(const QString &value)
{
    bibleUnitName = value;
}

QString BibleUnit::getNowUnitName() const
{
    return nowUnitName;
}

void BibleUnit::setNowUnitName(const QString &value)
{
    nowUnitName = value;
}

double BibleUnit::getRatio() const
{
    return ratio;
}

void BibleUnit::setRatio(double value)
{
    ratio = value;
}
